import App from './App'
import Vue from 'vue'
import store from './store'
import Web3 from 'web3';
import Config from '@/utils/config';
import * as func from "@/utils/func";
import tui from './common/httpRequest'

Vue.config.productionTip = false
Vue.prototype.func = func
Vue.prototype.Web3 = Web3
Vue.prototype.config = Config
Vue.prototype.tui = tui
import share from "@/utils/share";
Vue.mixin(share);


import jweixin from "jweixin-module";
Vue.prototype.$jweixin = jweixin;
let wxLable = ['wx-open-launch-weapp', 'wx-open-subscribe']
for (let i = 0; i < wxLable.length; i++) {
    Vue.config.ignoredElements.push(wxLable[i]) // 必须是push进ignoredElements内
}

App.mpType = 'app'
const app = new Vue({
    store,
    ...App
})
app.$mount()